package com.xl.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xl.domain.entity.Role;

import java.util.List;

/**
 * 角色信息表(Role)表数据库访问层
 *
 * @author makejava
 * @since 2024-07-13 20:55:53
 */
public interface RoleDao extends BaseMapper<Role> {

    List<String> selectRoleKeyByUserId(Long userId);

    List<String> selectRoleKeyByOtherUserId(Long id);

    List<Long> selectRoleIdByUserId(Long userId);
}

